/*
 * @Author: yanjikun
 * @Date: 2022-04-22 09:47:07
 * @LastEditors: yanjikun
 * @LastEditTime: 2022-05-11 17:27:23
 * @Description: file content
 */

import { ConfigProviderProps } from 'ant-design-vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'

dayjs.locale('zh-cn')
export const useConfigProvider = (): ConfigProviderProps => {
  return {
    locale: zhCN,
  }
}
